import request from '@/utils/request';
import requestH5 from '@/utils/requestH5';

// 获取签到人员列表
export function getSignInList(params) {
  return request.post('/zhongJiang/qianDaoLieBiao', params);
}
// 获取中奖人员列表
export function getPrizeList(params) {
  return request.post('/zhongJiang/liebiao', params);
}
// 获取删除签到用户数据
export function removeUserData(params) {
  return request.post('/zhongJiang/shanchuZj', params);
}
// 获取中奖用户
export function removeUserWinningRecordData(params) {
  return request.post('zhongJiang/update', params);
}
// 获取中奖记录自定义下拉奖项列表
export function getPrizeListSelectData(params) {
  return request.post('/ziDingYiGift/allGift', params);
}
// 导出报表数据
export function getExportReport(params) {
  return request.post('/api/todos/', params);
}
// 是否拉黑
export function movetoblack(params) {
  return request.post('/zhongJiang/addBlackList', params);
}

// 清空聊天记录
export function removeChatRecord(liveId) {
  return requestH5.get(`/wxScan/deleteMsgInfoBySplid?splid=${liveId}`);
}
